home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Tools 5
/
Amiga Tools 5.iso
/
tools
/
shell-tools
/
match
/
matchdoc.displayme
< prev
next >
Wrap
Text File
|
1996-03-11
|
1KB
|
24 lines
MatchV2.0 Documents
Match is a simple program simular to the SEARCH AmigaDOS program. It is
a utility that will look in a file to see if a string matches. It is a
command prompt (Shell) executable file for all Amiga CPUs. Its speed does
depend on your CPU load and the HardDrive/Floppy Drive speed/load. It
will look for the string in a file with infinite number of lines but only
a maximum of 255 characters per line (I do not really think anybody writes
any programs or plain text out there with more than 255 line size!!!)
Match is NOT case sensitive, if your string is encountered in UPPER, lower
or MixEd case it will be returned along with the line it was found in.
Usage: MatchV2.0 [string] [file with path]
Example: MatchV2.0 Martin Phone_list
(it can become complex too)
MatchV2.0 "Ioannis Nobelis" "DL:junk_all/myfrineds"
Source: Well, it will be compiled under GNU compilers if you remove the
strlwr() lines from the source but it will be case sensitive from
that point after, unless you wanna play around with te source.